import { axios } from '@/utils/request'

const api = {
  wechatCheck: '/admin/staff/wechatCheck',
  fingStaffByOrg: '/admin/staff/fingStaffByOrg',
  fingOrgByOrg: '/admin/staff/fingOrgByOrg'
}

export default api

/**
 * 验证是否为本公司员工
 *  */
export function wechatCheck (data) {
  return axios({
    url: api.wechatCheck,
    method: 'post',
    data: data
  })
}

/**
 * 查询人员
 */
export function fingStaffByOrg (data) {
  return axios({
    url: api.fingStaffByOrg,
    method: 'post',
    data: data
  })
}
/**
 * 查询部门
 */
export function fingOrgByOrg (data) {
  return axios({
    url: api.fingOrgByOrg,
    method: 'post',
    data: data
  })
}
